<?php
/***
* +----------------------------------------------------------------------+
* | DATE: 2007-7-11                                                      |
* +----------------------------------------------------------------------+
* | Author: YuYii <fin1983@Hotmail.com>                                  |
* +----------------------------------------------------------------------+
*/

//sql test
include("../class/operation.php");

$sql[] = "delete from account_out where createdate between '2008-06-07' and '2008-06-07'";
$sql[] = "INSERT INTO account_out(cost,createdate,typeid,description,remark) SELECT '423','2008-06-07',(select type_id from cost_type where type_name='信用卡消费'),'不知道2','没写2s'";
$act = new Operation;
print_r ($act->getOut());
print_r ($act->getTypes());
/*
if ($act->setOut($sql)) {
	echo "OK";
}
else echo "FAIL";
*/
?>